]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
telepathyClient: Remove some dead code
authorFlorian Müllner <fmuellner@gnome.org>
Tue, 17 Mar 2015 01:25:15 +0000 (02:25 +0100)
committerFlorian Müllner <fmuellner@gnome.org>
Tue, 17 Mar 2015 02:29:42 +0000 (03:29 +0100)
This has been unused ever since we stopped logging presence changes in
commit 4448b65a18a05d ...

js/ui/components/telepathyClient.js

index 44048d5b81b661972de4aa8931e0fe1a32f5f8e3..8e9b6ce5bad03d9d9585b8d7dc6aeacbce1f3f11 100644 (file)
@@ -546,14 +546,8 @@ const ChatSource = new Lang.Class({
     },
 
     _presenceChanged: function (contact, presence, status, message) {
-        let msg, title;
-
-        title = GLib.markup_escape_text(this.title, -1);
-
+        let title = GLib.markup_escape_text(this.title, -1);
         this._notification.update(this._notification.title, null, { customContent: true, secondaryGIcon: this.getSecondaryIcon() });
-
-        if (message)
-            msg += ' <i>(' + GLib.markup_escape_text(message, -1) + ')</i>';
     },
 
     _pendingRemoved: function(channel, message) {